package org.dromara.finance.domain.vo;

import org.dromara.finance.domain.SaleInvoice;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


/**
 * 销售发票视图对象 sale_invoice
 *
 * @author xxy
 * @date 2025-08-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SaleInvoice.class)
public class SaleInvoiceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 销售合同id
     */
    @ExcelProperty(value = "销售合同id")
    private Long saleContractId;

    private String saleContractNum;

    private String projectName;

    private String customerName;

    private Long transportSection;

    private Long currency;

    private BigDecimal localTotalAmount;

    @ExcelProperty(value = "备注")
    private String remark;

    private List<SaleInvoiceListVo> saleInvoiceList;


}
